<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>原力提词</title>
	<link rel="stylesheet" href="../css/bootstrap.min.css" />
	<link rel="stylesheet" href="../css/style.css" />
	<link rel="stylesheet" href="../css/header.css" />
</head>
<body>
	<div class="business-bridge-iframe">
		<iframe src="../floating/floating.html" width="230px" frameborder="0" height="210px" style="z-index: 1;border-top-left-radius: 5px;border-top-right-radius: 5px;"></iframe>
		<img src="../img/off_white.png" class="off-white js-off-white">
		<div class="shrink-button js-shrink-button">
            <span class="control">收起</span>
        </div>
	</div>
	<div class="warp">
		<div class="nav_box">
            <div id="wrap">
                <div id="topBar">
                    <div class="nav clearfixs" id="nav">
                        <div class="topBar">
                            <div class="nav_cont clearfixs">
                                <a href="http://http://www.semyes.cn/index.php/Home/Index/index.html" class="nav_Logo"> <img src="../img/logo.png" /></a>
                                <ul class="nav_list clearfixs">
                                    <li class="nav_list_li">
                                        <a class="" href="http://www.semyes.cn/index.php/Home/Index/index.html" target="_self">首页</a>
                                    </li>
                                    <li class="nav_list_li">
                                        <a class="" href="http://www.semyes.cn/index.php/Home/Yishubao/index.html" target="_self">易数宝</a>
                                    </li>
                                    <li class="nav_list_li">
                                        <a href="http://www.semyes.cn/index.php/Home/Fwxm/index.html" target="" class="">服务项目</a>
                                        <ul class="subnav">
                                            <li>
                                                <a href="http://www.semyes.cn/index.php/Home/Fwxm/sem.html" target="_self">SEM</a>
                                            </li>
                                            <p class="subnav_Tri"></p>
                                            <li>
                                                <a href="http://moban.semyes.cn" target="_self">网站建设</a>
                                            </li>
                                    
                                            <p class="subnav_Tri"></p>
                                    <li ><a href="http://www.semyes.cn/index.php/Home/Fwxm/extension.html"  target="_self">信息流广告</a></li><p class="subnav_Tri"></p>
                                        </ul>
                                    </li>
                                    <li class="nav_list_li">
                                        <a href="http://www.semyes.cn/index.php/Home/Project/index.html" target="_self">成功案例</a>
                                    </li>
                                    <li class="nav_list_li">
                                        <a href="join.semyes.cn" target="_self" class="active">招商加盟</a>
                                    </li>
                                    <li class="nav_list_li">
                                        <a href="http://www.semyes.cn/index.php/Home/Contact/index.html" target="_self" class="">联系我们</a>
                                    </li>
                                    <li class="nav_list_li">
                                        <a href="http://www.semyes.cn/index.php/Home/Auto/introduce.html" target="_self" class="">关于我们</a>
                                        <ul class="subnav">
                                            <li>
                                                <a href="http://www.semyes.cn/index.php/Home/Auto/introduce.html" target="_self">原昇介绍</a>
                                            </li>
                                            <p class="subnav_Tri"></p>
                                            <li>
                                                <a href="http://www.semyes.cn/index.php/Home/Auto/culture.html" target="_self">原昇文化</a>
                                            </li>
                                            <p class="subnav_Tri"></p>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="content-bg p-b200">
			<div class="content">
				<div class="mainContent">
					<ul class="step">
						<li class='present'><a href="javasrcipt:;">拓词/选词</a></li>
						<li class='present c75'>
							<img src="../img/arrows1.png" class="arrows-state">
							<a href="javasrcipt:;">智能分组</a>
						</li>
						<li class='present'>
							<img src="../img/arrows1.png" class="arrows-state">
							<a href="javasrcipt:;">推广设置</a>
						</li>
						<li class="c75">
							<img src="../img/arrows3.png" class="arrows-state">
							<a href="javasrcipt:;">完成上传</a>
						</li>
						<li class="record c89"><a href="javasrcipt:;">上传记录</a></li>
					</ul>
					<p class="step-notice">设定词根，系统自动根据所设定词根，通过各大搜索引擎和博雅立方智能词库进行关键词扩展。</p>
					<div class="sell-title">上传设置</div>
					<div class="unit-group tc-batch">
						<div class="tc-up-batch">
							<div class="select-campaign">
								<input type="radio" name="" class="uploadkw-radio js-uploadkw-radio" checked>
								<label class="unit-label">选择已有计划上传：</label>
								<div class="unit-controls">
									<select class="js-select">
										<option class="select-lucency">新建</option>
										<option class="select-lucency">计划1</option>
										<option class="select-lucency">计划2</option>
										<option class="select-lucency">计划3</option>
										<option class="select-lucency">计划4</option>
									</select>
								</div>
							</div>
						</div>
						<div class="create-newcampaign">
							<input type="radio" name="" class="uploadkw-radio js-uploadkw-radio">
							<label class="unit-label">新建计划：</label>
							<input type="text" name="" class="newCampaign js-new-build">
						</div>
						<div class="tc-up-batch">
							<label class="unit-label">批量设置落地页：</label>
							<div class="unit-controls">
								<input type="text" name="">
								<span class="invalid_landpage">落地页设置不合法</span>
							</div>
						</div>
					</div>

					<div class="tc-sell">
						<div class="sell-title">批量出价</div>
						<div class="lowest-custom">最低出价≥0.3元，且必须设置。</div>
						<div class="custom-check">
							<input type="text" name="" class="input-dollar js-input-dollar">
							<label>元</label>
							<span class="radio-box">
								<input type="radio" name="" checked class="js-radio-box-all">
								<label>全部</label>
								<input type="radio" name="" class="js-unit-bid">
								<label>单元出价</label>
							</span>
							<a href="javascript:;" class="tc-btn js-use">应用</a>
						</div>
						<div class="custom-checkbox">
							<div class="checkbox-head">
								<a href="javasrcipt:;" class="js-check-all">全选</a>
								<a href="javasrcipt:;" class="js-versa-check">反选</a>
							</div>
							<div class="keyword-group-list">
								<table class="tree">
									<tbody>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
										<tr class="group_list">
											<td>
												<input type="checkbox" name='test' class="js-select-tr">
												<label>长途搬家价格</label>
											</td>
											<td>关键词</td>
											<td>关键词</td>
											<td>2</td>
											<td class="js-price">12</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
						<a href="javascript:;" class="tc-btn js-uploading-btn">上传</a>
					</div>

				</div>
			</div>
		</div>
		<iframe src="../footer/footer.html" height="135px" width="100%" frameborder="0"></iframe>
	</div>
	<!-- loding -->
    <div class="fied">
        <img src="../img/load.gif">
        <div class="calculate-middle">正在计算中</div>
    </div>
</body>
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
$(function(){
	//原有计划
	$(".js-referrer").focus(function(){
		$(this).parents(".select-campaign").find(".js-uploadkw-radio").attr("checked",true);
		$(".create-newcampaign").find(".js-uploadkw-radio").attr("checked",false);
	})
	// 新建计划
	$(".js-new-build").focus(function(){
		$(this).parents(".unit-group").find(".js-uploadkw-radio").attr("checked",false);
		$(this).parent().find(".js-uploadkw-radio").attr("checked",true);
	})
	// 下拉
	$(".js-ui-icon").click(function(){
		$(".js-referrer").hide();
		$(".js-select").show();
	})

	// 选择出价
	$(".js-radio-box-all").click(function(){
		$(this).attr("checked",true);
		$(this).parent().find(".js-unit-bid").attr("checked",false);
	})
	$(".js-unit-bid").click(function(){
		$(this).attr("checked",true);
		$(this).parent().find(".js-radio-box-all").attr("checked",false);
	})

	$(".js-select-tr").click(function(){
		$(this).attr("checked");
		if ($(this).attr("checked") == "checked") {
			$(this).attr("checked",true);
		} else {
			$(this).attr("checked",false);
		}
	})


	// 应用
	$(".js-use").click(function(){
		var dollarText = $(this).parent().find(".js-input-dollar").val();
		var boxAll = $(".js-radio-box-all").attr("checked");
		var nuitBid = $(".js-unit-bid").attr("checked");
		if (dollarText == "") {
			alert("金额设置不能为空");
		} else {
			if (boxAll == "checked") {
				$(".js-price").text(dollarText);
			}
			if(nuitBid == "checked") {
		        $("input[name='test']:checked").each(function() { // 遍历选中的checkbox
		            n = $(this).parents("tr").index();  // 获取checkbox所在行的顺序
		            $(".tree").find("tr:eq("+n+")").find(".js-price").text(dollarText);
		        });
			}
		}
	})

	// 全选
	$(".js-check-all").click(function(){
		$(".js-select-tr").attr("checked",true);
	})
	// 反选
	$(".js-versa-check").click(function(){
         for(i=0;i<$(".js-select-tr").length;i++){
             if($(".js-select-tr")[i].checked==true){
                $(".js-select-tr")[i].checked=false;
             } else{
             	$(".js-select-tr")[i].checked=true
             }
             
         };
     });
	$(".js-uploading-btn").click(function(){
		$(".fied").show();
        setInterval(function(){
            window.location.href="accomplish_upload.html";
        },2000)
	})
	//收缩服务
	$(".js-shrink-button").toggle(function(){
        $(".business-bridge-iframe").animate({
            left:"-230px",
        },1000)
        $(this).find("span").removeClass("control").text("服务指导");
    },function(){
        $(".business-bridge-iframe").animate({
            left:"0px",
        },1000)
        $(this).find("span").addClass("control").text("收起");
    })
    // 关闭浮窗
    $(".js-off-white").click(function(){
        $(".business-bridge-iframe").hide();
    })
})
</script>
</html>